package com.zzy.common.exception;

/**
 * @author zhuZhaoYang
 * @date 2021/7/11 22:35
 */
public class BotException extends RuntimeException {

    private final int resultCode;
    private final String resultMessage;

    public BotException(int resultCode, String resultMessage) {
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
    }

    public int getResultCode() {
        return resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }
}
